var namee;
function change(namee) {

    ocultaTodo();
    var livetab, i;
    switch (namee) {
        case 'tab1':
            livetab = 't1';
            MontandoPrincipal("Display_content");
            break;
        case 'tab2':
            livetab = 't2';
            MontandoDivHistorico("Display_content");
            break;
        case 'tab3':
            livetab = 't3';
            MontandoConfiguracion("Display_content");
            break;
    }
    for (i = 1; i <= 3; i++) {
        document.getElementById("t" + i).style.backgroundColor = "gray";
    }
    document.getElementById(livetab).style.backgroundColor = "rgba(184, 209, 17, 1)";
//-------------------------------------------------------------

}